Computer and Modernization ›› 2013, Vol. 1 ›› Issue (9): 210-214.doi: 10.3969/j.issn.1006-2475.2013.09.052

• 应用与开发 • Previous Articles     Next Articles

Research and Implementation of Multi-threaded PostgreSQL Storage Engine

REN Hong-ping, HUANG Sheng   

  1. School of Software Engineering, Huazhong University of Science and Technology, Wuhan 430074, China
  • Received:2013-04-07 Revised:1900-01-01 Online:2013-09-17 Published:2013-09-17

Abstract: In order to solve the problem that the PostgreSQL starts many processes which takes up a lot of system resources, this paper presents an improved method for PostgreSQL storage engine, that is, using the thread pool wake-up call to replace the original PostgreSQL multi-process communication mechanism, so as to solve the problem that the PostgreSQL takes up a lot of system resources while starting large number of processes. Experimental results show that the improved method of PostgreSQL storage engine thread pool can be a good solution to the problems of system resources and improve the implementation efficiency of database.

Key words: PostgreSQL, database performance test, database performance optimization, multi-threaded optimization

CLC Number: